<html>
<head>
<title>
日期选择
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body onload="fload()" bgcolor='#EFEFEF'>
<script src="calendar.js">
</script>

<script>
function fload()
{   
    fPopCalendar(document.all.txt1, document.all.txt1);
}

function fkeydown()
{
    if(event.keyCode==27){
        event.returnValue = null;
        window.returnValue = null;
        window.close();
    }
}

document.onkeydown=fkeydown;
</script>

<input type=text id="txt1" style="display:none">
</body>
</html>